package com.example.config.resp;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.ObjectMapper;

public class CustomObjectMapper extends ObjectMapper {
	
	private static final long serialVersionUID = 1L;

	public CustomObjectMapper(){
		super();
		CustomSerializerProvider sp = new CustomSerializerProvider();
		this.configure(JsonGenerator.Feature.WRITE_NUMBERS_AS_STRINGS, true);
		this.setSerializerProvider(sp);
	}
}